@base-bg-color: #f5f6f7;
@white: #ffffff;
header {
  width: 100%;
  height: 55px;
  position: relative;
}

/*导航条*/
.nav-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  height: 55px;

  .nav, .user {
    width: 41%;

    ul {
      display: flex;
      justify-content: left;
      align-items: center;

      li {
        line-height: 55px;
        padding: 0 10px;
        color: #999999;

        a {
          display: block;
        }
      }
    }
  }

  .search {
    width: 25%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;

    .type {
      position: absolute;
      left: 0;
      vertical-align: middle;
      white-space: nowrap;

      .icon {
        display: inline-block;
        width: 17px;
      }

      button {
        border-radius: 40px 0 0 40px;
        width: 71px;
        i {
          -webkit-transition: transform 0.3s ease-in-out;
          -o-transition: transform 0.3s ease-in-out;
          transition: transform 0.3s ease-in-out;
        }
      }

      ul {
        position: absolute;
        text-align: center;
        z-index: 98;
        font-size: 14px;
        background-color: #ffffff;
        top: 39px;
        display: none;
        width: 100%;

        li {
          text-align: center;
          border-top: 1px solid #f5f5f5;
          height: 40px;
          line-height: 40px;
          cursor: pointer;
          padding: 0 18px;
          white-space: nowrap;
          font-size: 14px;
          border-radius: 2px;

          &:hover {
            color: #2D93CA;
          }
        }
      }

      .open > i:last-child {
        -moz-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
        -webkit-transform: rotate(180deg);
        transform: rotate(180deg);
      }
    }


    button {
      font-size: unset;
      &:hover {
        opacity: 1;
        border-color: #C9C9C9 !important;
        color: #3F3F3F !important;
      }

      border-radius: 0 40px 40px 0;
    }

    input {
      padding-left: 80px;
      border-radius: 40px 0 0 40px;
    }
  }

  .logo {
    width: 13%;

    img {
      height: 55px;
    }
  }

  .user {
    width: 17%;

    ul {
      display: flex;
      justify-content: space-around;
      flex-wrap: nowrap;
      align-items: center;

      li {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;

        &:hover {
          dl {
            display: block;
          }
        }

        dl {
          display: none;
          width: 100%;
          top: 55px;
          position: absolute;
          border-radius: 3px;
          z-index: 10;

          dd {
            height: 35px;
            line-height: 35px;
            padding: 5px 2px;
            border-bottom: 1px solid #f3f3f3;

            a {
              text-align: center;
            }
          }
        }

      }
    }
  }
}

.nav-active, .current {
  a {
    color: red !important;
  }
}


.footer {
  width: 100%;
  height: 220px;
  margin-top: 10px;

  .container {
    .footer-box {
      display: flex;
      padding: 30px 0;

      .left {

        width: 30%;

        .box {
          display: flex;
          justify-content: left;
          align-items: center;

          img {
            margin-right: 1.5%;
            height: 75px;
          }
          .item-list {
            display: flex;
            flex-flow: column;

            .star-list {
              display: flex;
              width: 25%;
              justify-content: space-between;
              margin-bottom: 10px;
            }

            .text-box {
              width: 75%;
              color: #555666;
            }
          }
        }
      }

      .center {
        width: 25%;

        .footer-link-box {
          width: 100%;
          color: @white;

          ul {
            display: flex;
            flex-wrap: wrap;
            align-items: center;

            li {
              width: 25%;
              height: 55px;
              line-height: 55px;
              display: block;
              text-align: center;
            }
          }
        }
      }

      .right {
        width: 45%;

        .img-box {
          display: flex;
          justify-content: space-around;
          align-items: center;
          flex-wrap: wrap;

          div {
            width: 100px;
            height: 100px;
            img{
              width: 100px;
              height: 100px;
            }

            p {
              font-size: 16px;
              text-align: center;
            }
          }
        }
      }
    }

    .copyright {
      border-top: 1px solid @white;
      display: block;
      text-align: center;
      line-height: 25px;
      width: 100%;
      margin-top: 10px;
      height: 25px;

      .top {
        width: 100%;
      }

      .bottom {
        width: 100%;
      }
    }

  }

}

